<template>
  <div class="xinde">
    <div class="head">
      <img @click="goxq" src="../../assets/img/duanhuo/shouye/back.png" alt="">
      <span>啊拉粉心得</span>
    </div>
    <div class="head2">
      <ul>
        <li @click="goquanbu"><span>全部心得</span></li>
        <li><span>嗮图</span></li>
      </ul>
    </div>
    <div class="nicheng qita">
      <ul>
        <li class="name">
          <div class="niname">
            <img src="../../assets/img/duanhuo/shopxq/headImg.png" alt="">
            <span>昵称</span>
          </div>
          <span>2018-3-5</span>
        </li>
        <li class="txt">
          <p>该模块主要内容是顾客对购买的商品的评价...该模块主要内容是顾客对购买的商品的评价...</p>
        </li>
        <li class="datu">
          <div class="sptu">
            <img @click="goxinde" src="../../assets/img/duanhuo/shouye/listImg2.png" alt="">
          </div>
        </li>
        <li class="lie">
          <ul>
            <li>
              <img src="../../assets/img/duanhuo/xinde/zan.png" alt="">
              1
            </li>
            <li>
              <img src="../../assets/img/duanhuo/xinde/comment.png" alt="">
              10
            </li>
            <li>
              <img src="../../assets/img/duanhuo/xinde/share.png" alt="">
              26
            </li>
          </ul>
        </li>
      </ul>
    </div>
    <div class="jiazai">
      <router-link :to="{name: 'xindedetails'}">
        加载更多
      </router-link>
    </div>
  </div>
</template>
<script>
  export default {
    methods:{
      goxq(){
        this.$router.push({path:'/details'})
      },
      goquanbu(){
        this.$router.push({path:'/quanbuxinde'})
      }
    }
  }
</script>
<style scoped>
  .xinde{
    background: #ccc;
  }
  .head{
    height: 2rem;
    background: #e53e42;
    text-align: center;
    display: flex;
    align-items: center;
    /*justify-content: flex-start;*/
    color: #fff;
  }
  .head span{
    margin-left: 30%;
  }
  .head img{
    height: 1rem;
    margin: 0 0.5rem;
    display: block;
  }
  .head2{
    background: #fff;
    padding: 0.2rem 0;
  }
  .head2 ul{
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid #ccc;
  }
  .head2 ul li{
    width: 50%;
    text-align: center;
  }
  .head2 ul li:first-child{
    border-right: 1px solid #ccc;

  }
  .head2 ul li:last-child span{
    border-bottom: 1px solid red;
    color: #e53e42;
  }
  .nicheng{
    background: #fff;
  }
  .nicheng .name{
    display: flex;
    align-items: center;
    padding: 0.3rem;
  }
  .nicheng .name .niname{
    display: flex;
    align-items: center;
  }
  .nicheng .name .niname img{
    width: 1.5rem;
  }
  .nicheng .name .niname span{
    margin-left: 0.3rem;
    font-size: 0.8rem;
  }
  .nicheng .name>span{
    font-size: 0.6rem;
    margin-left: 50%;
  }
  .nicheng .txt{
    padding: 0.1rem 0.3rem;
    font-size: 0.6rem;
  }
  .nicheng .lie{
    margin-top: 1rem;
    border-top: 1px solid #ccc;
    padding: 0.3rem;
  }
  .nicheng .lie ul{
    display: flex;
    justify-content: space-around;
  }
  .nicheng .lie ul li{
    width: 30%;
    text-align: center;
  }
  .nicheng .lie ul li img{
    width: 0.8rem;
  }
  .nicheng .lie ul li:first-child{
    border-right: 1px solid #ccc;
  }
  .nicheng .lie ul li:last-child{
    border-left: 1px solid #ccc;
  }
  .qita{
    /*margin-top: 0.5rem;*/
  }
  .nicheng .sptu{
    width: 30%;
    margin: 0.3rem;
    padding: 1rem;
    border: 1px solid #ccc;
    border-right: none;
    text-align: center;
  }
  .nicheng .sptu img{
    height: 3rem;
  }
  .jiazai{
    text-align: center;
    font-size: 0.6rem;
    padding: 0.36rem;
    position: fixed;
    bottom: 0rem;
    left: 40%;
  }

</style>
